#include <stdio.h>

int main()
{
    char s;
    long cnt = 0;
    do
    {
        scanf("%c",&s);
        if(s>='A'&&s<='Z'&&s!='A'&&s!='E'&&s!='I'&&s!='O'&&s!='U')
        {
            cnt ++;
        }
            
    }while(s != '\n');
    printf("%ld",cnt);
    return 0;
}